package com.wm.mediator;

/**
 * @ClassName: Colleague
 * @Description: 抽象同事类
 * @Author: WM
 * @Date: 2023/5/11 9:38
 */
public abstract class Colleague {
    private Mediator mediator;

    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    // 同事类的操作
    protected abstract boolean operation(String message);
}
